#ifndef _CUDA_WORKER_H_
#define _CUDA_WORKER_H_

#include <vector>
#include <iostream>
#include <fstream>
using namespace std;

class CudaWorker 
{
    private:
        unsigned char *input;
        unsigned char *output;
        unsigned char *exchng;

    protected:
        void init(int size);
        void clean();

    public:
        void doCudaCompression(ifstream &fin, ofstream &fout);
        void doCudaDecompression(ifstream &fin, ofstream &fout);
};

#endif  //_CUDA_WORKER_H_